package cn.fzkj.project.system.controller;

import cn.fzkj.framework.web.domain.ResultVO;
import cn.fzkj.project.system.mapper.SysShowMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/** echarts相关数据 */
@RestController
@RequestMapping(value = "show")
public class SysShowController {

    @Autowired
    private SysShowMapper showMapper;

    @RequestMapping(value = "/selectListTodoNumsByGroup", method = RequestMethod.GET)
    public ResultVO selectListTodoNumsByGroup(Long userId, String group){
        return ResultVO.success(showMapper.selectListSummaryByGroup(userId, group));
    }
}
